<?php

require_once 'PipesImpl/Namespace.php';

class Pipes_Namespace implements PipesImpl_Namespace
{
	private $_namespace = '';
	private $_name = '';

	public function __construct($namespace, $name) {
		$this->_namespace = $namespace;
		$this->_name = $name;
	}
	
	public function __get($key) {
		$return = null;
		switch ($key) {
			case 'namespace' :
				$return = $this->_namespace;
				break;
			
			case 'name' :
				$return = $this->_name;
				break;
		}

		return $return;
	}
}
